<%@include file="loginHeader.jsp" %>

<div id="content">
	<div id="login" align="center">
	
		<%
			//expire the cookie
			Cookie user = getCookieByName(request.getCookies(), "user");
			user.setMaxAge(0);
			response.addCookie(user);
		
			Cookie username = getCookieByName(request.getCookies(), "username");
			username.setMaxAge(0);
			response.addCookie(username);
			
			//delete session variable
			session.invalidate();
		%>
	
		<h1> Lab Assistant </h1>
		<p> You have successfully logout. Please <a href="login.jsp">login</a> back to continue access Lab Assistant </p>
		
		
		

	</div>
</div> 

<%@include file="footer.jsp" %>